/**
 * Created with Intellij IDEA
 * Description
 * User:ASUS
 * Date:2024-07-31
 * Time:21:46
 */
public class Person {
    String name;
    String gender;
    int age;
    public Person(String name,String gender,int age){
        this.name=name;
        this.gender=gender;
        this.age=age;
    }
    public String toString(){
        return "["+name+","+gender+","+age+"]";
    }

    public static void main(String[] args) {
        Person person=new Person("Amy","女",19);
        System.out.println(person);
    }
}
